package com.weiyuwqj.server.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import com.weiyuwqj.api.model.SysAssetCompany;

/**
 * 
 * @className:SysAssetCompanyMpper	
 * @Description: 资产方mapper
 * @author cx
 * @date:2017年3月25日上午10:53:51 
 *
 */
@Repository
public interface SysAssetCompanyMapper extends Mapper<SysAssetCompany>{
	
	/**
	 * 列表
	 * @return
	 */
	List<SysAssetCompany> getPageList(@Param("name") String name);
	
	/**
	 * 列表
	 * @return
	 */
	List<SysAssetCompany> getList();
	
	/**
	 * 通过id查询
	 * @param id
	 * @return
	 */
	SysAssetCompany findById(final Integer id);

	SysAssetCompany getAssetNameByItemId(@Param("itemId")String itemId);
}
